package io.framework.modules.water.service;

import io.framework.common.page.PageData;
import io.framework.common.service.CrudService;
import io.framework.modules.water.dto.WaterNearshoreDTO;
import io.framework.modules.water.entity.WaterNearshoreEntity;

import java.util.Map;

/**
 * 近岸海域海水
 *
 * @author Gujq email
 * @since 1.0.0 2020-10-15
 */
public interface WaterNearshoreService extends CrudService<WaterNearshoreEntity, WaterNearshoreDTO> {

    /**
     * 根据时间删除历史数据
     */
    void deleteInfoByDate(String year);

    PageData<WaterNearshoreDTO> pageList(Map<String, Object> params);

    Boolean checkData(String month);

    WaterNearshoreDTO getWaterInfoById(Map<String, Object> params);
}
